<template>
  <div class="layout">
    <div class="title">党建大数据分析平台</div>
    <nav>
      <ul>
        <li class="nav-item">概况</li>
        <li class="nav-item">党员发展</li>
        <li class="nav-item">组织画像</li>
        <li class="nav-item">组织...</li>
      </ul>
      <ul>
        <li class="nav-item">组织生活</li>
        <li class="nav-item">教育学校</li>
        <li class="nav-item">党建月历</li>
        <li class="nav-item">党建...</li>
      </ul>
    </nav>
    <div class="content">
      <Row>
        <Col span="7" class="box">
          <div class="box-item">
            <Col span="12" >
              <div class="partyOrganization">
                <img src="../../static/images/01_icon.png" alt="" width="58px" height="58px" style="border-radius:50%;">
                <div class="partyOrganization_item">
                  <span>党组织</span>
                  <p id="OrganizationNub">1688</p>
                </div>
              </div>
              <div class="partyOrganizationNub">
                <Col span="12" >
                  <h6>党委数</h6>
                  <p id="dwNub">688</p>
                </Col>
                <Col span="12" style="margin-bottom:20px;">
                  <h6>党总支数</h6>
                  <p id="dzzNub">544</p>
                </Col>
                <Col span="12" >
                  <h6>党支部数</h6>
                  <p id="dzbNub">232</p>
                </Col>
                <Col span="12" >
                  <h6>联合党支部数</h6>
                  <p id="JointNub">182</p>
                </Col>
              </div>
            </Col>
            <Col span="12" style="border-left:1px solid #3F5A97">
              <div class="partyOrganization">
                <img src="../../static/images/01_icon.png" alt="" width="58px" height="58px" style="border-radius:50%;">
                <div class="partyOrganization_item">
                  <span>党员数</span>
                  <p id="" style="color:#15D091;">1688</p>
                </div>
              </div>
              <div class="partyOrganizationNub">
                <Col span="12" >
                  <h6>正式党员</h6>
                  <p id="">688</p>
                </Col>
                <Col span="12" style="margin-bottom:20px;">
                  <h6>预备党员</h6>
                  <p id="">544</p>
                </Col>
                <Col span="12" >
                  <h6>停职党员籍数</h6>
                  <p id="">232</p>
                </Col>
                <Col span="12" >
                  <h6>失联党员数</h6>
                  <p id="">182</p>
                </Col>
              </div>
            </Col>
          </div>
        </Col>
        <Col span="10" class="box">
          <div class="box-item">
            111
          </div>
        </Col>
        <Col span="7" class="box">
          <div class="box-item">
            111
          </div>
        </Col>
      </Row>
    </div>
</div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: ''
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.layout{
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url(../../static/images/bg.png)no-repeat;
  background-size: 100% 100%;
}
.layout>.title{
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  font-size: 30px;
  color: #fff;
  letter-spacing: 3px;
  text-shadow: 1px 1px 3px #fff,-1px 12px 6px #0d275c;
}

.nav-item{
  width: 108px;
  height: 37px;
  display: inline-block;
  text-align: left;
  background: url(../../static/images/tab_bg.png)no-repeat;
  background-size: 100% 100%;
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 38px;
}
.content{
  margin-top: 20px;
}
.content .box{
  height: 300px;
  padding: 0 20px;
}
.box>.box-item{
  width: 100%;
  height: 100%;
  background: url(../../static/images/borderbg.png)no-repeat;
  background-size: 100% 100%;
  color: #fff;
  padding: 30px 0;
}
.box:nth-child(2)>.box-item{
  background: url(../../static/images/box-centerborder.png)no-repeat;
  background-size: 100% 100%;
}
ul{
  padding: 5px 20px;
  display: inline-block;
}
ul>li{
  margin-left: 20px;
}
ul:nth-child(1){
  float: left;
}
ul:nth-child(2){
  float: right;
}
nav{
  overflow: hidden;
  margin-top: 2px;
  padding: 0px;
}
.partyOrganization{
  margin-bottom: 30px;
}
.partyOrganization>img{
  vertical-align: middle;
}
.partyOrganization_item{
  display:inline-block;
  vertical-align: middle;
}
.partyOrganization_item span{
  font-size: 14px;
  font-weight: bold;
  color: #617CBA;
}
.partyOrganization_item p{
  font-weight: bold;
  font-size: 29px;
  color: #DCBE45;
}
.partyOrganizationNub h6{
  color: #617CBA;
  font-size: 14px;
}
.partyOrganizationNub p{
  color: #CBE0FD;
  font-size: 25px;
}
</style>
